using System;

namespace Book.Blog.Core.Entities.Statistics
{
    public class PageView : BaseEntity
    {
        public required string Path { get; set; }
        public string? Referrer { get; set; }
        public string? UserAgent { get; set; }
        public string? IpAddress { get; set; }
        public Guid? UserId { get; set; }
        public string? SessionId { get; set; }

        // 导航属性
        public virtual User? User { get; set; }
    }
} 